package com.cloud.dao.cityweather;

import com.cloud.model.entity.cityweather.CityWeather;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * <b><code>CityWeatherDao</code></b>
 * <p/>
 * CityWeather的具体实现
 * <p/>
 * <b>Creation Time:</b> 2019-10-16 14:31:05.
 *
 * @author ${model.author}
 * @version 1.0.0
 * @since cloud-spring-boot-be 1.0.0
 */
@Repository
public interface CityWeatherDao extends JpaRepository<CityWeather, Long>, JpaSpecificationExecutor<CityWeather> {

    CityWeather findByCityIdAndWeatherType(Long cityId,String type);
}
